<?php

# com_jvframwork - JV Framework
# @version		1.5.x
# ------------------------------------------------------------------------
# author    Open Source Code Solutions Co
# copyright Copyright (C) 2011 joomlavi.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL or later.
# Websites: http://www.joomlavi.com
# Technical Support:  http://www.joomlavi.com/my-tickets.html
#-------------------------------------------------------------------------

// no direct access
defined('_JEXEC') or die('Restricted access');

// try to set time limit
@set_time_limit(0);

// try to increase memory limit
if((int) ini_get('memory_limit') < 32) {
    @ini_set('memory_limit', '32M');
}
$GLOBALS['COMPONENT_INSTALLER'] = $this;

function com_install() {
	$installer = $GLOBALS['COMPONENT_INSTALLER'];
    
   	include_once($installer->get('parent')->getPath('source').'/admin/installation/introduction.html');	
	require_once($installer->get('parent')->getPath('source').'/admin/installation/jvinstall.php');	
	return JVInstall::process($installer);

}